package com.xoomworks.rsfr.core.service;

import com.xoomworks.rsfr.model.Role;

/**
 * Role service interface.
 *
 * @author bogdan.sbiera
 */
public interface RoleService extends BaseService<Role> {

    /**
     * Get a role by name.
     *
     * @param roleName
     *            the name of the role we want to find
     * @return the Role with the given name or null if there is none
     */
    public Role getRoleByName(String roleName);

}
